package org.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sequence")
public class Sequence {
    @TableId(value = "name", type = IdType.INPUT)
    private String name;
    private int nextid;

    public String getName() {
        return name;
    }

    public void setName( String name ) {
        this.name = name;
    }

    public int getNextid() {
        return nextid;
    }

    public void setNextid( int nextid ) {
        this.nextid = nextid;
    }
}
